<?php
namespace catchAdmin\permissions\request;

use catchAdmin\permissions\model\PortsConfig;
use catcher\base\CatchRequest;

class CreatePortsRequest extends CatchRequest
{

    protected function rules(): array
    {
        // TODO: Implement rules() method.
        return [
            'port_name|口岸名称' => 'require|unique:'.PortsConfig::class
        ];
    }

    protected function message()
    {
        // TODO: Implement message() method.
    }
}